<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>POJava Persistence Utility - FindBugs Bug Detector Report</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            POJava Persistence Utility
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2011-08-24
                      </div>
            <div class="xright">            <a href="">POJava Persistence Utility</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                             <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
            
            
      
            
      
              
            <li class="expanded">
                    <a href="project-reports.html">Project Reports</a>
                  <ul>
                  
    <li class="none">
              <strong>FindBugs Report</strong>
        </li>
                  
    <li class="none">
                    <a href="apidocs/index.html">JavaDocs</a>
          </li>
                  
    <li class="none">
                    <a href="testapidocs/index.html">Test JavaDocs</a>
          </li>
              </ul>
        </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>FindBugs Bug Detector Report</h2>
<p>The following document contains the results of <a href="http://findbugs.sourceforge.net" class="externalLink">FindBugs Report</a></p>
<p>FindBugs Version is <i>1.3.9</i></p>
<p>Threshold is <i>low</i></p>
<p>Effort is <i>max</i></p>
</div>
<div class="section"><h2>Summary</h2>
<table class="bodyTable"><tr class="a"><th>Classes</th>
<th>Bugs</th>
<th>Errors</th>
<th>Missing Classes</th>
</tr>
<tr class="b"><td>48</td>
<td>18</td>
<td>0</td>
<td>0</td>
</tr>
</table>
</div>
<div class="section"><h2>Files</h2>
<table class="bodyTable"><tr class="a"><th>Class</th>
<th>Bugs</th>
</tr>
<tr class="b"><td><a href="#org.pojava.persistence.query.SqlQuery">org.pojava.persistence.query.SqlQuery</a></td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#org.pojava.persistence.serial.XmlSerializer">org.pojava.persistence.serial.XmlSerializer</a></td>
<td>2</td>
</tr>
<tr class="b"><td><a href="#org.pojava.persistence.sql.FieldMap">org.pojava.persistence.sql.FieldMap</a></td>
<td>4</td>
</tr>
<tr class="a"><td><a href="#org.pojava.persistence.sql.TableMap">org.pojava.persistence.sql.TableMap</a></td>
<td>1</td>
</tr>
<tr class="b"><td><a href="#org.pojava.persistence.sql.TransConnection">org.pojava.persistence.sql.TransConnection</a></td>
<td>6</td>
</tr>
<tr class="a"><td><a href="#org.pojava.persistence.util.DaoTool">org.pojava.persistence.util.DaoTool</a></td>
<td>1</td>
</tr>
<tr class="b"><td><a href="#org.pojava.persistence.util.SqlTool">org.pojava.persistence.util.SqlTool</a></td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#org.pojava.persistence.util.WebSafe">org.pojava.persistence.util.WebSafe</a></td>
<td>2</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.query.SqlQuery"></a><div class="section"><h3>org.pojava.persistence.query.SqlQuery</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Use of non-localized String.toUpperCase() or String.toLowerCase</td>
<td>I18N</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#DM_CONVERT_CASE" class="externalLink">DM_CONVERT_CASE</a></td>
<td>138</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.serial.XmlSerializer"></a><div class="section"><h3>org.pojava.persistence.serial.XmlSerializer</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Suspicious comparison of Integer references in org.pojava.persistence.serial.XmlSerializer.toXml(Object, String, String, int, Class)</td>
<td>CORRECTNESS</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#RC_REF_COMPARISON" class="externalLink">RC_REF_COMPARISON</a></td>
<td>183</td>
<td>High</td>
</tr>
<tr class="b"><td>Method org.pojava.persistence.serial.XmlSerializer.walk(Object) makes inefficient use of keySet iterator instead of entrySet iterator</td>
<td>PERFORMANCE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR" class="externalLink">WMI_WRONG_MAP_ITERATOR</a></td>
<td>101</td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.sql.FieldMap"></a><div class="section"><h3>org.pojava.persistence.sql.FieldMap</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>org.pojava.persistence.sql.FieldMap.getGetters() may expose internal representation by returning FieldMap.getters</td>
<td>MALICIOUS_CODE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP" class="externalLink">EI_EXPOSE_REP</a></td>
<td>271</td>
<td>Medium</td>
</tr>
<tr class="a"><td>org.pojava.persistence.sql.FieldMap.getSetters() may expose internal representation by returning FieldMap.setters</td>
<td>MALICIOUS_CODE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP" class="externalLink">EI_EXPOSE_REP</a></td>
<td>289</td>
<td>Medium</td>
</tr>
<tr class="b"><td>org.pojava.persistence.sql.FieldMap.setGetters(Method[]) may expose internal representation by storing an externally mutable object into FieldMap.getters</td>
<td>MALICIOUS_CODE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP2" class="externalLink">EI_EXPOSE_REP2</a></td>
<td>280</td>
<td>Medium</td>
</tr>
<tr class="a"><td>org.pojava.persistence.sql.FieldMap.setSetters(Method[]) may expose internal representation by storing an externally mutable object into FieldMap.setters</td>
<td>MALICIOUS_CODE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP2" class="externalLink">EI_EXPOSE_REP2</a></td>
<td>298</td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.sql.TableMap"></a><div class="section"><h3>org.pojava.persistence.sql.TableMap</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Method org.pojava.persistence.sql.TableMap.autoBind() passes a nonconstant String to an execute method on an SQL statement</td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE" class="externalLink">SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE</a></td>
<td>122</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.sql.TransConnection"></a><div class="section"><h3>org.pojava.persistence.sql.TransConnection</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>195</td>
<td>Low</td>
</tr>
<tr class="b"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String, int) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>203</td>
<td>Low</td>
</tr>
<tr class="a"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String, int, int) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>227</td>
<td>Low</td>
</tr>
<tr class="b"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String, int, int, int) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>235</td>
<td>Low</td>
</tr>
<tr class="a"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String, int[]) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>211</td>
<td>Low</td>
</tr>
<tr class="b"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.sql.TransConnection.prepareStatement(String, String[]) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>219</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.util.DaoTool"></a><div class="section"><h3>org.pojava.persistence.util.DaoTool</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.util.DaoTool.batchInsert(Connection, TableMap, List) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>177</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.util.SqlTool"></a><div class="section"><h3>org.pojava.persistence.util.SqlTool</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>A prepared statement is generated from a nonconstant String at org.pojava.persistence.util.SqlTool.generatePreparedStatement(PreparedSql, Connection) </td>
<td>SECURITY</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" class="externalLink">SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING</a></td>
<td>139</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.pojava.persistence.util.WebSafe"></a><div class="section"><h3>org.pojava.persistence.util.WebSafe</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>org.pojava.persistence.util.WebSafe.objectToString(Object) invokes inefficient new String(String) constructor</td>
<td>PERFORMANCE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#DM_STRING_CTOR" class="externalLink">DM_STRING_CTOR</a></td>
<td>95</td>
<td>Medium</td>
</tr>
<tr class="a"><td>org.pojava.persistence.util.WebSafe.objectToString(Object, IvParameterSpec) invokes inefficient new String(String) constructor</td>
<td>PERFORMANCE</td>
<td><a href="http://findbugs.sourceforge.net/bugDescriptions.html#DM_STRING_CTOR" class="externalLink">DM_STRING_CTOR</a></td>
<td>117</td>
<td>Medium</td>
</tr>
</table>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2011
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
